<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>2.5 网页布局介绍</title>

    <style>
        .container{
            display: flex;
                    
        }
        .box{
            width:100px;
            height:100px;
            background-color: antiquewhite;
            border: 2px solid gray;
            margin: 20px;
            padding:5px;
            text-align: center;
        }
    </style>
</head>
<body>
    <!--布局控制-->
    <div class="container">
        <!--盒模式-->
        <div class="box">第一个div</div>
        <div class="box">第二个div</div>
    </div>

    

    
</body>
</html>